@model List<CrazyToDo.Web.Models.MatterViewModel>
@{
    Layout = null;
}

               <ul>
                   @foreach (var item in Model)
                   {
                       if (item.State == false)
                       {
                           <li>
                               <span class="input-group-addon" style="height:40px; width:50px;float:left;">
                                   <input type="checkbox" id="check" onclick="changeState(@item.Id)" style="height:22px;width:22px;">
                               </span>
                               <span class="input-group-addon" style="height:40px; width:50px;float:right;">
                                   <img src="~/Home/img/删除(1).png" class="delete" onclick="Delete(@item.Id)" />
                               </span>
                               <p type="text" style="border:1px solid #BCB8B8;height:40px;font-size:18px;" class="form-control" onclick="details(@item.Id)"> @item.Content </p>
                           </li>

                       }
                       else
                       {

                           <li>
                               <span class="input-group-addon" style="height:40px; width:50px;float:left;">
                                   <input type="checkbox" id="check" checked="checked" onclick="changeState(@item.Id)" style="height:22px;width:22px;">
                               </span>
                               <span class="input-group-addon" style="height:40px; width:50px;float:right;">
                                   <img src="~/Home/img/删除(1).png" class="delete" onclick="Delete(@item.Id)" />
                               </span>
                               <p type="text" style="border:1px solid #BCB8B8;height:40px;font-size:18px;text-decoration:line-through;" class="form-control" onclick="details(@item.Id)"> @item.Content </p>
                           </li>
                       }

                   }
               </ul>



